<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
<html lang="en">
<head>
	<meta http-equiv="Content-Type" content="text/html;charset=UTF-8">
	<title>float</title>
	<style type="text/css">
*{
	margin: 0px;
	padding: 0px;
}
li{
	list-style: none;
}/* 排序无格式 */
.header{
	width: 500px;
	height: 300px;
	background: blue url() 0 0 no-repeat;
	float: left;
}
.box{
float: left;
}/* 将父级ul整体浮动 */ 
.box li{
width: 50px;
	height: 200px;
	background: red url() 0 0 no-repeat;
	margin: 10px;
	float: right;
}
	</style>
</head>
<body>
	<div class="header"></div>
	<ul class="box">
		<li>1</li>
		<li>2</li>
		<li>3</li>
		<li>4</li>
		<li>5</li>
		<li>6</li>
	</ul>
</body>
</html>